package org.example;

import java.util.ArrayList;

public class Device {
    private String deviceId;
    private String connectState;
    private ArrayList<Integer> cpus = new ArrayList<>();
    private String ram;
    public Device(String deviceId, String connectState) {
        this.deviceId = deviceId;
        this.connectState = connectState;
    }

    @Override
    public String toString() {
        return "Device{" +
                "deviceId='" + deviceId + '\'' +
                ", connectState='" + connectState + '\'' +
                ", cpus=" + cpus +
                ", ram='" + ram + '\'' +
                '}';
    }

    public String getRam() {
        return ram;
    }

    public void setRam(String ram) {
        this.ram = ram;
    }

    public ArrayList<Integer> getCpus() {
        return cpus;
    }

    public void setCpus(ArrayList<Integer> cpus) {
        this.cpus = cpus;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getConnectState() {
        return connectState;
    }

    public void setConnectState(String connectState) {
        this.connectState = connectState;
    }
}
